|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Event | |
|---|---|
| nl.justobjects.pushlet.client | |
| nl.justobjects.pushlet.core | |
| Uses of Event in nl.justobjects.pushlet.client |
|---|
| Methods in nl.justobjects.pushlet.client with parameters of type Event | |
|---|---|
void |
PushletClientListener.onAbort(Event theEvent)
Abort event from server. |
void |
PushletClientListener.onData(Event theEvent)
Data event from server. |
void |
PushletClientListener.onHeartbeat(Event theEvent)
Heartbeat event from server. |
| Uses of Event in nl.justobjects.pushlet.core |
|---|
| Fields in nl.justobjects.pushlet.core declared as Event | |
|---|---|
Event |
Command.reqEvent
Pushlet request event. |
| Methods in nl.justobjects.pushlet.core that return Event | |
|---|---|
static Event |
Event.createDataEvent(java.lang.String aSubject)
|
static Event |
Event.createDataEvent(java.lang.String aSubject,
java.util.Map theAttributes)
|
Event |
EventQueue.deQueue()
Get head; if empty wait until something in queue. |
Event |
EventQueue.deQueue(long maxWaitTime)
Get head; if empty wait for specified time at max. |
Event[] |
EventQueue.deQueueAll(long maxWaitTime)
Get all queued Events. |
Event |
Command.getResponseEvent()
Get pushlet response event. |
static Event |
EventParser.parse(java.io.File aFile)
Parse Event from a File. |
static Event |
EventParser.parse(java.io.Reader aReader)
Parse Event from input Reader. |
static Event |
EventParser.parse(java.lang.String aString)
Parse Event from a String. |
| Methods in nl.justobjects.pushlet.core with parameters of type Event | |
|---|---|
void |
Dispatcher.broadcast(Event anEvent)
Send event to all subscribers. |
static Command |
Command.create(Session aSession,
Event aReqEvent,
javax.servlet.http.HttpServletRequest aHTTPReq,
javax.servlet.http.HttpServletResponse aHTTPRsp)
Create new Command object. |
Session |
SessionManager.createSession(Event anEvent)
Create new Session (but add later). |
boolean |
EventQueue.enQueue(Event item)
Put item in queue; waits() indefinitely if queue is full. |
boolean |
EventQueue.enQueue(Event item,
long maxWaitTime)
Put item in queue; if full wait maxtime. |
boolean |
Subscription.match(Event event)
Determine if Event matches subscription. |
Subscription |
Subscriber.match(Event event)
Determine if we should receive event. |
void |
Dispatcher.multicast(Event anEvent)
Send event to subscribers matching Event subject. |
void |
Subscriber.onEvent(Event theEvent)
Event from Dispatcher: enqueue it. |
void |
ClientAdapter.push(Event anEvent)
Push single Event to client. |
void |
BrowserAdapter.push(Event anEvent)
Push Event to client. |
void |
Command.setResponseEvent(Event aResponseEvent)
Set pushlet response event. |
void |
Dispatcher.unicast(Event event,
java.lang.String aSessionId)
Send event to specific subscriber. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||